import { randomTime } from "utils/time";

export type TStatus = 1 | 2; // 1: 未读 2:已读
export interface IItem {
  id: number;
  content: string;
  tag: string;
  createTime: string;
  status: TStatus;
  type: number;
}

export const dataItemList: IItem[] = [
  {
    id: 1,
    content: '设置儿童活动区域',
    tag: '提议',
    createTime: randomTime(),
    status: 1,
    type: 2,
  },
  {
    id: 2,
    content: '设置儿童游泳设备的销售',
    tag: '提议',
    createTime: randomTime(),
    status: 2,
    type: 2,
  },
  {
    id: 3,
    content: '有人乱排泄',
    tag: '投诉',
    createTime: randomTime(),
    status: 1,
    type: 1,
  },
  {
    id: 4,
    content: '冷阔教练上课比较水',
    tag: '投诉',
    createTime: randomTime(),
    status: 1,
    type: 1,
  },
  {
    id: 5,
    content: '开设健身课程',
    tag: '提议',
    createTime: randomTime(),
    status: 1,
    type: 2,
  },
];
